package com.Tradition.mapper;

import com.Tradition.model.Bad;
import com.github.pagehelper.Page;

import java.util.List;

public interface BadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Bad record);

    int insertSelective(Bad record);

    Bad selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Bad record);

    int updateByPrimaryKey(Bad record);
    List<Bad> findBadPage();
}